[INFO] cloning repository https://github.com/majiayu000/chat-archive-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/majiayu000/chat-archive-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Fchat-archive-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Fchat-archive-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e464db7b9473e60bf24679f4783e702b6d36aebf
[INFO] testing majiayu000/chat-archive-rs against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmajiayu000%2Fchat-archive-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/majiayu000/chat-archive-rs
[INFO] finished tweaking git repo https://github.com/majiayu000/chat-archive-rs
[INFO] tweaked toml for git repo https://github.com/majiayu000/chat-archive-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/majiayu000/chat-archive-rs on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/majiayu000/chat-archive-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 279ff0ae6a7be6ff359439dd8663353f1975429e4c7fec1264eb9c830bc60b2e
[INFO] running `Command { std: "docker" "start" "-a" "279ff0ae6a7be6ff359439dd8663353f1975429e4c7fec1264eb9c830bc60b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "279ff0ae6a7be6ff359439dd8663353f1975429e4c7fec1264eb9c830bc60b2e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "279ff0ae6a7be6ff359439dd8663353f1975429e4c7fec1264eb9c830bc60b2e", kill_on_drop: false }`
[INFO] [stdout] 279ff0ae6a7be6ff359439dd8663353f1975429e4c7fec1264eb9c830bc60b2e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 134f57fe6d9773c288f90f35afb1698263f4672c2c615dac6ba8b3cc81056926
[INFO] running `Command { std: "docker" "start" "-a" "134f57fe6d9773c288f90f35afb1698263f4672c2c615dac6ba8b3cc81056926", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling chat-archive-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `openssl_encrypt_chunk` is never used
[INFO] [stdout]   --> src/crypto.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn openssl_encrypt_chunk(plain: &[u8], pass: &str) -> AppResult<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_file` is never used
[INFO] [stdout]   --> src/utils.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn append_file(path: &Path, bytes: &[u8]) -> AppResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.43s
[INFO] running `Command { std: "docker" "inspect" "134f57fe6d9773c288f90f35afb1698263f4672c2c615dac6ba8b3cc81056926", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "134f57fe6d9773c288f90f35afb1698263f4672c2c615dac6ba8b3cc81056926", kill_on_drop: false }`
[INFO] [stdout] 134f57fe6d9773c288f90f35afb1698263f4672c2c615dac6ba8b3cc81056926
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4de84f2028a773cd3fc903e71bf5ee0f2627f1cf4f6c8b31a0556b28d7a6fefb
[INFO] running `Command { std: "docker" "start" "-a" "4de84f2028a773cd3fc903e71bf5ee0f2627f1cf4f6c8b31a0556b28d7a6fefb", kill_on_drop: false }`
[INFO] [stderr]    Compiling chat-archive-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `openssl_encrypt_chunk` is never used
[INFO] [stdout]   --> src/crypto.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn openssl_encrypt_chunk(plain: &[u8], pass: &str) -> AppResult<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_file` is never used
[INFO] [stdout]   --> src/utils.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn append_file(path: &Path, bytes: &[u8]) -> AppResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `append_file` is never used
[INFO] [stdout]   --> src/utils.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn append_file(path: &Path, bytes: &[u8]) -> AppResult<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.00s
[INFO] running `Command { std: "docker" "inspect" "4de84f2028a773cd3fc903e71bf5ee0f2627f1cf4f6c8b31a0556b28d7a6fefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4de84f2028a773cd3fc903e71bf5ee0f2627f1cf4f6c8b31a0556b28d7a6fefb", kill_on_drop: false }`
[INFO] [stdout] 4de84f2028a773cd3fc903e71bf5ee0f2627f1cf4f6c8b31a0556b28d7a6fefb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 272f321fe2f17d4456cdc45b9668059e00d5c80695cb8d6cb2bfcb733d10b105
[INFO] running `Command { std: "docker" "start" "-a" "272f321fe2f17d4456cdc45b9668059e00d5c80695cb8d6cb2bfcb733d10b105", kill_on_drop: false }`
[INFO] [stderr] warning: function `append_file` is never used
[INFO] [stderr]   --> src/utils.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub fn append_file(path: &Path, bytes: &[u8]) -> AppResult<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `openssl_encrypt_chunk` is never used
[INFO] [stderr]   --> src/crypto.rs:62:8
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub fn openssl_encrypt_chunk(plain: &[u8], pass: &str) -> AppResult<Vec<u8>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `append_file` is never used
[INFO] [stderr]   --> src/utils.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub fn append_file(path: &Path, bytes: &[u8]) -> AppResult<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `chat-archive-rs` (bin "chat-archive-rs" test) generated 1 warning
[INFO] [stderr] warning: `chat-archive-rs` (bin "chat-archive-rs") generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chat_archive_rs-007dc466534e0c97)
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test crypto::tests::test_chunk_encrypt_decrypt_roundtrip ... ok
[INFO] [stdout] test crypto::tests::test_compressed_chunk_rejects_invalid_level ... ok
[INFO] [stdout] test utils::tests::test_hex_roundtrip ... ok
[INFO] [stdout] test utils::tests::test_fnv_stable ... ok
[INFO] [stdout] test collector::tests::accepts_complete_json_without_trailing_newline ... ok
[INFO] [stdout] test collector::tests::defers_incomplete_tail_and_resumes_from_safe_offset ... ok
[INFO] [stdout] test storage::tests::sync_to_remote_repairs_missing_older_chunks ... ok
[INFO] [stdout] test crypto::tests::test_compressed_chunk_encrypt_decrypt_roundtrip ... ok
[INFO] [stderr]      Running tests/backup_compress.rs (/opt/rustwide/target/debug/deps/backup_compress-5c7aef1d3ff68cad)
[INFO] [stdout] test crypto::tests::test_wrap_unwrap_roundtrip ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 17.05s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test init_recovery_file_is_owner_only ... ok
[INFO] [stdout] test backup_failure_does_not_advance_checkpoints ... FAILED
[INFO] [stdout] test backup_with_compress_level_creates_verifiable_archive ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- backup_failure_does_not_advance_checkpoints stdout ----
[INFO] [stdout] Error: "command unexpectedly succeeded: /opt/rustwide/target/debug/chat-archive-rs --archive-dir /tmp/chat-archive-rs-test-checkpoint-commit-27-1781324050225125109/archive backup --passphrase test-passphrase"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     backup_failure_does_not_advance_checkpoints
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 53.47s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test backup_compress`
[INFO] running `Command { std: "docker" "inspect" "272f321fe2f17d4456cdc45b9668059e00d5c80695cb8d6cb2bfcb733d10b105", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "272f321fe2f17d4456cdc45b9668059e00d5c80695cb8d6cb2bfcb733d10b105", kill_on_drop: false }`
[INFO] [stdout] 272f321fe2f17d4456cdc45b9668059e00d5c80695cb8d6cb2bfcb733d10b105
